package com.code.softeem.lianxi.demo1;

/**
 * @author xiyu
 * @version 1.0
 * @date 2025/3/20 14:44
 * @description
 */
public class Teacher extends people{
    public Teacher() {
    }

    public Teacher(String name, int age) {
        super(name, age);
    }
    public void jiangke(){
        System.out.println(getName()+"老师在讲课");
    }
}
